import request from '@/utils/request'

// 查询护理计划和项目关联列表
export function listPlan_project(query) {
  return request({
    url: '/serve/plan_project/list',
    method: 'get',
    params: query
  })
}

// 查询护理计划和项目关联详细
export function getPlan_project(id) {
  return request({
    url: '/serve/plan_project/' + id,
    method: 'get'
  })
}

// 新增护理计划和项目关联
export function addPlan_project(data) {
  return request({
    url: '/serve/plan_project',
    method: 'post',
    data: data
  })
}

// 修改护理计划和项目关联
export function updatePlan_project(data) {
  return request({
    url: '/serve/plan_project',
    method: 'put',
    data: data
  })
}

// 删除护理计划和项目关联
export function delPlan_project(id) {
  return request({
    url: '/serve/plan_project/' + id,
    method: 'delete'
  })
}
